package July;

import June03.Student;

public class Test02equals {
    public static void main(String[] args) throws CloneNotSupportedException {
        Student s1=new Student("张三","男",19);
        Student s2=new Student("张三","男",18);

        Student s3 = (Student) s2.clone();
        //重写equals
        System.out.println(s2.equals(s3));
    }


}
